package com.zoranjoka.chordis.dao;

import java.io.Serializable;
import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.zoranjoka.chordis.entities.Album;

public interface AlbumDAO {
	@CommitAfter
	public void save(Album a);
	@CommitAfter
	public void delete(Album a);
	public Album findById(Serializable id);
	public List<Album> getAll();
}
